package ar.edu.uba.fi.jmit.aspecter.testUtils;

import javassist.CtClass;
import ar.edu.uba.fi.jmit.aspecter.core.injector.ConstructorInjector;

public class ExceptionConstructorInjector extends ConstructorInjector {
	
	@Override
	protected String getBeforeCode() {
		return "throw new RuntimeException(\"injected!\");";
	}

	@Override
	protected boolean mustInject(CtClass clazz) {
		return true;
	}
	
	public void addParameterTypes(java.lang.Class<?>[] types) {
		super.addParameterTypes(types);
	}

}
